Skip to content

Conversation

@shmuelk
Copy link
Contributor

@shmuelk shmuelk commented Oct 6, 2025

What type of PR is this?
/kind feature

What this PR does / why we need it:
This PR adds a new optional extension point, the PreSchedule plugin. This plugin when specified is invoked by the Director before the scheduler is invoked. In particular it is in charge of getting the candidate pods to be filtered and scored by the scheduling process.

The new PreSchedule plugin enables more sophisticated pod selection strategies.

This is particularly useful in cases where one is using an autoscaler in a cluster of many InferencePools that are "sharing" a set of GPUs. In periods of inactivity for some particular model, one might want to scale its InferencePool to zero and use the freed up GPU in another InferencePool. When requests for the model that was scaled to zero come in, one would want to scale that InferencePool up from zero, in order to process the requests.

Does this PR introduce a user-facing change?:

  • A new extension point has been added, the PreSchedule plugin, which can be used for more sophisticated pod selection algorithms.

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Oct 6, 2025
@netlify
Copy link

netlify bot commented Oct 6, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit 57253ef
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/68e3875e7eeccc00087654de
😎 Deploy Preview https://deploy-preview-1682--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shmuelk
Once this PR has been reviewed and has the lgtm label, please assign ahg-g for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 6, 2025
@kfswain
Copy link
Collaborator

kfswain commented Oct 7, 2025

Discussed with @nirrozenbaum. We likely will need a proposal or an issue for an extension of the framework as this is a novel addition

@kfswain
Copy link
Collaborator

kfswain commented Oct 7, 2025

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 7, 2025
@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/feature Categorizes issue or PR as related to a new feature. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants